﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BCEntity.Common.Dictionary
{
    /// <summary>
    /// 字典索引数据库模型
    /// </summary>
    public class DictionaryReferenceEntity
    {
        /// <summary>
        /// ID
        /// </summary>
        public int DictionaryReferenceId { get; set; }

        /// <summary>
        /// 检索键
        /// </summary>
        public string SearchKey { get; set; }

        /// <summary>
        /// 引用名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 引用类型名称
        /// </summary>
        public string TypeName { get; set; }

        /// <summary>
        /// 引用父名称
        /// </summary>
        public string ParentName { get; set; }

        /// <summary>
        /// 引用值（对应中文名称）
        /// </summary>
        public string ItemValue { get; set; }

        /// <summary>
        /// 引用类型值（对应中文类型名称）
        /// </summary>
        public string TypeValue { get; set; }

        /// <summary>
        /// 引用组值（对应中文父名称）
        /// </summary>
        public string GroupValue { get; set; }

        /// <summary>
        /// 引用名称备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 允许编辑
        /// </summary>
        public bool AllowEdit { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 编辑人
        /// </summary>
        public string Editer { get; set; }
    }
}
